#include "WNPlatform/inc/WNPlatformFactory.h"
#include "WNCore/inc/WNPlatform.h"
#include "WNMemory/inc/WNAllocation.h"
#ifdef _WN_WINDOWS
#include "WNPlatform/inc/WNSurfaceManagerWindows.h"
#elif defined(_WN_LINUX)
#include "WNPlatform/inc/WNSurfaceManagerXWindows.h"
#endif

WNPlatform::WNSurfaceManager* WNPlatform::WNPlatformFactory::CreateSurfaceManager() {
#ifdef _WN_WINDOWS
    return(WN_NEW(WNPlatform::WNSurfaceManagerWindows()));
#else
    return(WN_NEW(WNPlatform::WNSurfaceManagerXWindows()));
#endif
}
